\hypertarget{sensors_8h}{
\section{atmega1281/mid/include/sensors.h File Reference}
\label{sensors_8h}\index{atmega1281/mid/include/sensors.h@{atmega1281/mid/include/sensors.h}}
}
{\ttfamily \#include \char`\"{}structures.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}ir.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}bumpers.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}battery.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}sonar.h\char`\"{}}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{sensors_8h_a4ab82b3d018ff6e6866549a065188a30}{sensors\_\-getIR}()~ir\_\-read()
\item 
\#define \hyperlink{sensors_8h_a704680c481c946bf98aeb484c46f30e0}{sensors\_\-getBumpers}()~bumpers\_\-read()
\item 
\#define \hyperlink{sensors_8h_ada5c769ceb7d8b75c54cf90ab4e748f7}{sensors\_\-getBattState}()~battery\_\-read(BATT\_\-READ\_\-PERC);
\item 
\#define \hyperlink{sensors_8h_a709d68c36da1e3f2b5feec8c76ed9243}{sensors\_\-getBattVoltage}()~battery\_\-read(BATT\_\-READ\_\-VOLT);
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{sensors_8h_afbed7bde16bf6f2535f0792084773b17}{sensors\_\-readAll} (\hyperlink{structsensors__t}{sensors\_\-t} $\ast$sens)
\item 
void \hyperlink{sensors_8h_ac5ec1d578591899e43c3515d05e573b7}{sensors\_\-init} (void)
\end{DoxyCompactItemize}


\subsection{Define Documentation}
\hypertarget{sensors_8h_ada5c769ceb7d8b75c54cf90ab4e748f7}{
\index{sensors.h@{sensors.h}!sensors\_\-getBattState@{sensors\_\-getBattState}}
\index{sensors\_\-getBattState@{sensors\_\-getBattState}!sensors.h@{sensors.h}}
\subsubsection[{sensors\_\-getBattState}]{\setlength{\rightskip}{0pt plus 5cm}\#define sensors\_\-getBattState()~battery\_\-read(BATT\_\-READ\_\-PERC);}}
\label{sensors_8h_ada5c769ceb7d8b75c54cf90ab4e748f7}
\hypertarget{sensors_8h_a709d68c36da1e3f2b5feec8c76ed9243}{
\index{sensors.h@{sensors.h}!sensors\_\-getBattVoltage@{sensors\_\-getBattVoltage}}
\index{sensors\_\-getBattVoltage@{sensors\_\-getBattVoltage}!sensors.h@{sensors.h}}
\subsubsection[{sensors\_\-getBattVoltage}]{\setlength{\rightskip}{0pt plus 5cm}\#define sensors\_\-getBattVoltage()~battery\_\-read(BATT\_\-READ\_\-VOLT);}}
\label{sensors_8h_a709d68c36da1e3f2b5feec8c76ed9243}
\hypertarget{sensors_8h_a704680c481c946bf98aeb484c46f30e0}{
\index{sensors.h@{sensors.h}!sensors\_\-getBumpers@{sensors\_\-getBumpers}}
\index{sensors\_\-getBumpers@{sensors\_\-getBumpers}!sensors.h@{sensors.h}}
\subsubsection[{sensors\_\-getBumpers}]{\setlength{\rightskip}{0pt plus 5cm}\#define sensors\_\-getBumpers()~bumpers\_\-read()}}
\label{sensors_8h_a704680c481c946bf98aeb484c46f30e0}
\hypertarget{sensors_8h_a4ab82b3d018ff6e6866549a065188a30}{
\index{sensors.h@{sensors.h}!sensors\_\-getIR@{sensors\_\-getIR}}
\index{sensors\_\-getIR@{sensors\_\-getIR}!sensors.h@{sensors.h}}
\subsubsection[{sensors\_\-getIR}]{\setlength{\rightskip}{0pt plus 5cm}\#define sensors\_\-getIR()~ir\_\-read()}}
\label{sensors_8h_a4ab82b3d018ff6e6866549a065188a30}


\subsection{Function Documentation}
\hypertarget{sensors_8h_ac5ec1d578591899e43c3515d05e573b7}{
\index{sensors.h@{sensors.h}!sensors\_\-init@{sensors\_\-init}}
\index{sensors\_\-init@{sensors\_\-init}!sensors.h@{sensors.h}}
\subsubsection[{sensors\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void sensors\_\-init (void)}}
\label{sensors_8h_ac5ec1d578591899e43c3515d05e573b7}
\hypertarget{sensors_8h_afbed7bde16bf6f2535f0792084773b17}{
\index{sensors.h@{sensors.h}!sensors\_\-readAll@{sensors\_\-readAll}}
\index{sensors\_\-readAll@{sensors\_\-readAll}!sensors.h@{sensors.h}}
\subsubsection[{sensors\_\-readAll}]{\setlength{\rightskip}{0pt plus 5cm}void sensors\_\-readAll ({\bf sensors\_\-t} $\ast$ {\em sens})}}
\label{sensors_8h_afbed7bde16bf6f2535f0792084773b17}
